//
//  StackDictionary.h
//  Source List
//
//  Created by Keith Duncan on 28/01/2009.
//  Copyright 2009 thirty-three software. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AFStackDictionary : NSMutableDictionary {
	NSPointerArray *keys;
	NSPointerArray *objects;
}

// Note: value must be pushed in sync, if pushing one will increase the count >(count+1) of the other an exception will be thrown
- (void)pushKey:(id <NSCopying>)key; // Note: keys are copied
- (void)addObject:(id)object;

@end
